import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

import Getcar from '@/frame/getcar.vue'
import Rebackpark from '@/frame/rebackpark'
import Getcarpark from '@/frame/getcarpark'
import Waitcar from '@/frame/waitcar'
import Reserve from '@/frame/reserve'

import Settlement from '@/views/settlement'
import File from '@/components/file'
import Face from '@/views/face'
import Pay from '@/views/pay'


import LoginModel from "../pages/LoginModel"
import QualityCertification from "../pages/QualityCertification"
import QualitySucc from "../pages/QualitySucc"
import PayDeposit from "../pages/PayDeposit"
import WaitUse from "../pages/WaitUse"


export default new Router({
  routes: [
    {
      path: '/Getcar',
      name: 'Getcar',
      component: Getcar
    },
    {
      path: '/Rebackpark',
      name: 'Rebackpark',
      component: Rebackpark
    },
    {
      path: '/Getcarpark',
      name: 'Getcarpark',
      component: Getcarpark
    },
    {
      path: '/Reserve',
      name: 'Reserve',
      component: Reserve
    },
    {
      path: '/Waitcar',
      name: 'Waitcar',
      component: Waitcar
    },
    {
      path: '/settlement',
      name: 'settlement',
      component: Settlement
    },
    {
      path: '/file',
      name: 'File',
      component: File
    },
    {
      path: '/face',
      name: 'Face',
      component: Face
    },
    {
      path: '/pay',
      name: 'Pay',
      component: Pay
    },


    // {path: "/", component: LoginModel},
    // {path: "/", component: WaitUse},
    {path: "/LoginModel", component: LoginModel},
    {path: "/QualityCertification", component: QualityCertification},
    {path: "/QualitySucc", component: QualitySucc},
    {path: "/PayDeposit", component: PayDeposit},
    {path: "/WaitUse", component: WaitUse},
  ]
})
